/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package technotheist.geo.map;

/**
 *
 * @author Mitchel Strachan
 */
public class MapUV {

    byte panel;
    public float u, v;

    public byte panel() {
        return panel;
    }
    
    public int nearestU(int sideLength) {
        return Math.round(u * sideLength);
    }

    public int nearestV(int sideLength) {
        return Math.round(v * sideLength);
    }

    public void clear() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
